from django.urls import path, re_path
from . import views

app_name = 'admins'

urlpatterns = [
    path('show_domain/', views.show_domain, name='show_domain'),
    path('vm_recy/<pindex>', views.VM_Recy, name='vm_recy'),
    path('apply_vm/<pindex>/', views.applyvm, name='apply_vm'),
    path('apply_ports/<pindex>', views.applyport, name='apply_port'),
    path('apply_setting/<pindex>', views.applydeploy, name='apply_setting'),
    path('agree_vm/', views.agree_vm, name='agree_vm'),
    path('refuse_vm/', views.refuse_vm, name='refuse_vm'),
    path('delete_vm/', views.delete_vm, name='delete_vm'),
    path('add_domain/', views.add_domain, name="add_domain"),
    path('add_workstation/', views.add_workstation, name="add_workstation"),
    path('sync_domain/', views.sync_domain, name='sync_domain'),
    path('existing_domain/', views.existing_domain, name='existing_domain'),
    path('existing_workstation/', views.existing_workstation, name="existing_workstation"),
    path('delete_domain/', views.delete_domain, name='delete_domain'),
    path('add_img/', views.add_img, name='add_img'),
    path('delete_workstation/', views.delete_workstation, name='delete_workstation'),
    path('agree_deploy/', views.agree_deploy, name='agree_deploy'),
    path('refuse_deploy/', views.refuse_deploy, name='refuse_depoly'),
    path('agree_port/', views.agree_port, name='agree_port'),
    path('refuse_port/', views.refuse_port, name='refuse_port'),
    path('delete_port/', views.delete_port, name='delete_port'),
    path('group_list/',views.group_list,name='group_list'),
    path('add_group/',views.add_group,name='add_group'),
    path('show_users/<pindex>',views.show_users,name='show_users'),
    path('user_manage/',views.user_manage,name='user_manage'),
    path('get_count/',views.get_count,name='get_count'),
    path('agree_install_vm/', views.agree_install_vm, name='agree_install_vm'),
    path('agree_build_vmNAT/', views.agree_build_vmNAT, name='agree_build_vmNAT'),
    path('agree_definit_vm/', views.agree_definit_vm, name='agree_definit_vm'),
    path('backup_vm/',views.backup_vm,name='backup_vm'),
    path('snapshot_manage/',views.snapshot_manage,name='snapshot_manage'),
    path('snapshot_delete/',views.snapshot_delete,name='snapshot_delete'),
    path('add_members/', views.add_members, name='add_members'),
    path('group_users/<pindex>', views.group_users, name='group_users'),
    path('apply_vm_request/', views.applyvm_request, name='apply_vm_request'),
    path('vm_recy_request/', views.VM_Recy_request, name='VM_Recy_request'),
    path('apply_setting_request/', views.applydeploy_request, name='applydeploy_request'),
    path('existing_domain_request/', views.existing_domain_request, name='existing_domain_request'),
    path('find_vm_by_ip/', views.find_vm_by_ip, name='find_vm_by_ip'),
    path('find_vm_by_domain_ip/', views.find_vm_by_domain_ip, name='find_vm_by_domain_ip'),
    path('existing_workstation_request/', views.existing_workstation_request, name='existing_workstation_request'),
    path('add_domain_request/', views.add_domain_request, name='add_domain_request'),
    path('get_domain_by_ip/', views.get_domain_by_ip, name='get_domain_by_ip'),
    path('add_workstation_request/', views.add_workstation_request, name='add_workstation_request'),
    path('add_img_request/', views.add_img_request, name='add_img_request'),
    path('get_node_by_name/', views.get_node_by_name, name='get_node_by_name'),
    path('apply_node/', views.node_apply, name="apply_node"),
    path('apply_reload/', views.apply_reload, name='apply_reload'),
    path('agree_zabbix_node/', views.agree_zabbix_node, name="agree_zabbix_node"),
    path('apply_node_request/', views.node_apply_request, name='node_apply_request'),
    path('cascade_apply/', views.cascade_apply, name='cascade_apply'),
    path('agree_cascade/', views.agree_cascade, name='agree_cascade'),
    path('quit_cascade/', views.quit_cascade, name='quit_cascade'),
]
